package com.cyt.wx.service;

import com.cyt.base.model.dto.ReturnResult;
import com.cyt.sys.model.po.SysUser;
import com.cyt.sys.service.BaseService;
import com.cyt.wx.model.po.WxApplyUse;
import com.cyt.wx.model.vo.WxApplyUseVo;

import java.util.List;

/**
 * 应用信息-应用信息Service层接口类
 *
 * @author shengQiang Yu
 * @date 2019-8-8 8:45:12
 */
public interface WxApplyUseService extends BaseService<WxApplyUse> {

    /**
     * 查询对象集合
     *
     * @param wxApplyUseVo 对象
     * @return List 对象集合
     * @author shengQiang Yu
     * @date 2019-8-8 8:45:12
     */
    List<WxApplyUse> listExample(WxApplyUseVo wxApplyUseVo);

    /**
     * 分页查询
     *
     * @param wxApplyUseVo 接受参数对象
     * @param pageNum          分页数
     * @param pageSize         每页显示条数
     * @return ReturnResult
     * @author shengQiang Yu
     * @date 2019-8-8 8:45:12
     */
    ReturnResult page(WxApplyUseVo wxApplyUseVo, int pageNum, int pageSize);

    /**
     * 添加或更新
     *
     * @param wxApplyUseVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author shengQiang Yu
     * @date 2019-8-8 8:45:12
     */
    ReturnResult addOrUpdate(WxApplyUseVo wxApplyUseVo, SysUser sysUser);

    /**
     * 根据条件逻辑删除
     *
     * @param wxApplyUseVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author shengQiang Yu
     * @date 2019-8-8 8:45:12
     */
    ReturnResult remove(WxApplyUseVo wxApplyUseVo, SysUser sysUser);

    /**
     * 根据条件物理删除
     *
     * @param wxApplyUseVo 参数接受对象
     * @param sysUser      当前用户
     * @return ReturnResult
     * @author shengQiang Yu
     * @date 2019-8-8 8:45:12
     */
    ReturnResult delete(WxApplyUseVo wxApplyUseVo, SysUser sysUser);

    /**
     * 根据条件查询
     * @param wxApplyUseVo
     * @author congcong tao
     * @date 2019/8/14 14:53
     */
    List<WxApplyUse> selectByCondition(WxApplyUseVo wxApplyUseVo);
}